package com.water.camera.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.water.camera.databinding.DialogLoadingAppBinding;
import com.water.camera.util.Utils;

public class LoadingDlg extends FullScreenDlg {

    DialogLoadingAppBinding binding;

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        binding = DialogLoadingAppBinding.inflate(inflater, container, false);
        return binding.getRoot();
    }

    @Override
    protected int getWidth() {
        return Utils.dp2Px(getActivity(), 100);
    }

    @Override
    protected int getHeight() {
        return Utils.dp2Px(getActivity(), 100);
    }
}
